package com.arcbbs.service;

import com.arcbbs.entity.*;
import com.arcbbs.result.PageResult;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;

@Service
public interface FormArticleService {
    PageResult selectbypage(ForumArticleQuery forumArticleQuery, Integer orderType);

    void readArticle(HttpSession httpSession,String articleId);

    ForumArticleVo getbyid(String articleId);

    void updatearticle(SessionWebUserDto sessionWebUserDto, ForumArticle forumArticle, ForumArticleAttachment forumArticleAttachment, MultipartFile cover, MultipartFile attachment);

    ForumArticle getbyid2(String articleId);
}
